package com.superbytecode.stencil.strategy;

/**
 * All rights Reserved, Designed By www.super-master.cn
 *
 * @projectName: magician
 * @package: com.superbytecode.magician.core
 * @className: SQLTypeStrategy
 * @description: [sql类型策略]
 * <p> </p>
 * @author: [Lance Ting]
 * @date: 2024/10/10 0:13
 * @version: V1.0
 * @copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * todo: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface SQLTypeStrategy {
    /**
     * 获取sql类型
     * <p>不同类型/不同版本数据库，存在差异性</p>
     *
     * @param databaseVersion 数据库版本
     * @param originalType    sql数据类型
     * @return 对应数据库以及版本的数据类型
     */
    String obtainSQLType(final String databaseVersion, final String originalType);
}